package com.caigou.mapper.cms;

import com.caigou.bean.cms.entity.SurveyFormConfig;
import org.apache.ibatis.annotations.Param;

public interface SurveyFormConfigMapper {
    int deleteByPrimaryKey(Integer id);

    int deleteByFormId(@Param("formId") String formId);

    int insert(SurveyFormConfig record);

    int insertSelective(SurveyFormConfig record);

    SurveyFormConfig selectByPrimaryKey(Integer id);

    int updateByFormIdSelective(SurveyFormConfig record);

    int updateByPrimaryKey(SurveyFormConfig record);

    SurveyFormConfig getSurveyFormConfigByFormId(@Param("formId")String formId);

    int updateSurveyFormConfig(@Param("formId") String formId, @Param("enableFormConfig") Integer enableFormConfig);
}